package com.gdpa.mapper;

import com.gdpa.entity.DistrBuilding;
import com.gdpa.entity.DistrHouse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 分销房源表 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2018-12-19
 */
public interface DistrHouseMapper extends BaseMapper<DistrHouse> {
    List<DistrHouse> findAllHouse(String id);
    DistrBuilding findNowBuild(String id);
    Integer addHouse(DistrHouse house);
    List<DistrHouse> findHouse(DistrHouse house);
    Integer deleteHouse(String id);
}
